package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 急加速报警表
 */
@Data
@Accessors(chain = true)
public class ObdAlarmAccelerate extends Model<ObdAlarmAccelerate> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("车辆id")
	private String vehicleId;
	
	@ApiModelProperty("驾驶员ID")
	private String driverId;
	
	@ApiModelProperty("报警时间")
	private Date alarmTime;
	
	@ApiModelProperty("加速度")
	private BigDecimal accelerate;
	
	@ApiModelProperty("速度km/h")
	private BigDecimal speed;
	
	@ApiModelProperty("纬度")
	private BigDecimal latitude;
	
	@ApiModelProperty("经度")
	private BigDecimal longitude;
	
	@ApiModelProperty("GPS方向")
	private BigDecimal gpsDirection;
	
	@ApiModelProperty("GPS速度")
	private BigDecimal gpsSpeed;
	
	@ApiModelProperty("地址")
	private String address;
	
	@ApiModelProperty("基站码")
	private String baseCode;
	
	@ApiModelProperty("基站供应商")
	private String baseSupplier;
	
	private Date createTime;
	
	@ApiModelProperty("行程ID")
	private String routeId;
	
	@ApiModelProperty("车牌号")
	private String plateNo;
	
	@ApiModelProperty("车辆所属")
	private Integer property;
	
	@ApiModelProperty("车辆所有人")
	private String owner;
	
	@ApiModelProperty("车辆使用性质")
	private Integer userNature;
	
	@ApiModelProperty("车辆服役状态")
	private Integer serviceStatus;
	
	@ApiModelProperty("车辆所属部门")
	private String deptId;
	
	@ApiModelProperty("车辆租赁公司编号")
	private String companyNo;
	
	@ApiModelProperty("车辆油费承担类型")
	private Integer oilCostType;
	
}